package com.mi.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userName;
	private String userPassword;
	private String userPhone;
	private String userSignature;
	private String userHobby;
 
	private Set shippingaddresses = new HashSet(0);
	private Set orders = new HashSet(0);
	private Set usercomments = new HashSet(0);
 

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
 
	 
  

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserPhone() {
		return this.userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserSignature() {
		return this.userSignature;
	}

	public void setUserSignature(String userSignature) {
		this.userSignature = userSignature;
	}

	public String getUserHobby() {
		return this.userHobby;
	}

	public void setUserHobby(String userHobby) {
		this.userHobby = userHobby;
	}
 
	/*public Set getShippingaddresses() {
=======
	public Set getShippingaddresses() {
>>>>>>> b9f4a6f72ab076b6badbf38ebc0d10992f0e3038
		return this.shippingaddresses;
	}

	public void setShippingaddresses(Set shippingaddresses) {
		this.shippingaddresses = shippingaddresses;
	}

	public Set getOrders() {
		return this.orders;
	}

	public void setOrders(Set orders) {
		this.orders = orders;
	}

	public Set getUsercomments() {
		return this.usercomments;
	}

	public void setUsercomments(Set usercomments) {
		this.usercomments = usercomments;
	}
<<<<<<< HEAD
*/
	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", userPassword=" + userPassword + ", userPhone="
				+ userPhone + ", userSignature=" + userSignature + ", userHobby=" + userHobby + "]";
	}

 

}